package com.czl.module_storehouse.bean;

import java.util.List;

/**
 * @author xubin
 */
public class WorkerBean {
    private String birthday;
    private String departmentPath;
    private String idcardType;
    private String idnumber;
    private String loginId;
    private String nickName;
    private String orgName;
    private String organizationId;
    private int positionId;
    private String positionName;
    private String sex;
    private String tname;
    private String userSchedule;
    private String companyId;
    private int userId;
    private List<RoleListBean> roleList;
    private List<String> userTag;
    /**
     * headimg : http://thirdwx.qlogo.cn/mmopen/PoUnzdp2d3ovcmdYIQAUeS7L66D1uibkSCyibzBiatnKfcibBMQsKqKSPWxQ2xYceUbaOhFuv1ibh1mpnHOEIAtRV7Hhqia6lbbsFR/132
     * organizationId : 0
     * roleList : []
     */

    private String headimg;

    @Override
    public String toString() {
        return "WorkerBean{" +
                "birthday='" + birthday + '\'' +
                ", departmentPath='" + departmentPath + '\'' +
                ", idcardType='" + idcardType + '\'' +
                ", idnumber='" + idnumber + '\'' +
                ", loginId='" + loginId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", orgName='" + orgName + '\'' +
                ", organizationId=" + organizationId +
                ", positionId=" + positionId +
                ", positionName='" + positionName + '\'' +
                ", sex='" + sex + '\'' +
                ", tname='" + tname + '\'' +
                ", userId=" + userId +
                ", roleList=" + roleList +
                ", userTag=" + userTag +
                '}';
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getUserSchedule() {
        return userSchedule;
    }

    public void setUserSchedule(String userSchedule) {
        this.userSchedule = userSchedule;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getDepartmentPath() {
        return departmentPath;
    }

    public void setDepartmentPath(String departmentPath) {
        this.departmentPath = departmentPath;
    }

    public String getIdcardType() {
        return idcardType;
    }

    public void setIdcardType(String idcardType) {
        this.idcardType = idcardType;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public int getPositionId() {
        return positionId;
    }

    public void setPositionId(int positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public List<RoleListBean> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<RoleListBean> roleList) {
        this.roleList = roleList;
    }

    public List<String> getUserTag() {
        return userTag;
    }

    public void setUserTag(List<String> userTag) {
        this.userTag = userTag;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public static class RoleListBean {
        /**
         * roleId : 3
         * roleName : 超级管理员
         */

        private int roleId;
        private String roleName;

        @Override
        public String toString() {
            return "RoleListBean{" +
                    "roleId=" + roleId +
                    ", roleName='" + roleName + '\'' +
                    '}';
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }
    }
}
